package com.ztom.beans.factory.support.processor

/**
 * @author ZhangTao
 */
interface BeanPostProcessor {

    /**
     * bean 初始化前置处理
     */
    fun postProcessBeforeInitialization(bean: Any, beanName: String): Any?

    /**
     * bean 初始化后置处理
     */
    fun postProcessAfterInitialization(bean: Any, beanName: String): Any?
}